package com.example.mapper;

import com.example.model.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<User> queryByUserIds(@Param("list") List<Long> ids);

    void batchInsert(@Param("list") List<User> user);
}




